//
//  Config.h
//  FruitHelper
//
//  Created by 赵隆杰 on 2021/12/10.
//

#ifndef Config_h
#define Config_h

#define kBgColor [UIColor colorWithHexString:@"F3F3F2"];
#define kViewBgColor [UIColor colorWithHexString:@"F2F2F2"]//默认页面背景色
#define kViewF6Color [UIColor colorWithHexString:@"F6F6F6"]//页面背景色
#define kLineColor [UIColor colorWithHexString:@"EEEEEE"]//分割线颜色
#define kColor666666 [UIColor colorWithHexString:@"666666"]//cell左title字色
#define kFontColor2 [UIColor colorWithHexString:@"999999"]//cell右title字色
#define kColor333333 [UIColor colorWithHexString:@"333333"]//cell右title字色
#define kRandomColor kRGBColor(arc4random_uniform(256), arc4random_uniform(256), arc4random_uniform(256))//随机色生成
#define kThemeColor [UIColor colorWithRed:244/256.0 green:53/256.0 blue:159/256.0 alpha:1.0]//app主题色

//获取屏幕宽高
#define SL_WINDOW_WIDTH ([[UIScreen mainScreen] bounds].size.width)
#define SL_WINDOW_HEIGHT ([[UIScreen mainScreen] bounds].size.height)
#define kScreen_Bounds [UIScreen mainScreen].bounds

//状态栏高度
#define SL_VC_StatusBar_HEIGHT [[UIApplication sharedApplication] statusBarFrame].size.height
//工具栏高度
#define SL_VC_TabBar_HEIGHT (SL_VC_StatusBar_HEIGHT > 20 ? 83 : 49)
//导航栏高度
#define SL_VC_HEADER_HEIGHT (SL_VC_StatusBar_HEIGHT + 44.0)
#define SL_VC_AreaBottom [UIApplication sharedApplication].keyWindow.safeAreaInsets.bottom

#define kAppWindow [UIApplication sharedApplication].delegate.window

#define VHWeakSelf __weak typeof(self) weakSelf = self;
#define VHStrongSelf __strong typeof(self) self = weakSelf;


#endif /* Config_h */
